package org.slf4j.impl;

import org.slf4j.ILoggerFactory;
import org.slf4j.spi.LoggerFactoryBinder;
/**
 * @author Alexander Kotov (kotov.alex.22@gmail.com)
 */
public class StaticLoggerBinder implements LoggerFactoryBinder {

    private final static StaticLoggerBinder THIS = new StaticLoggerBinder();

    public static StaticLoggerBinder getSingleton() {
        return THIS;
    }

    private static final String loggerFactoryClassStr = LoggerFactory.class.getName();

    private final ILoggerFactory loggerFactory;

    private StaticLoggerBinder() {
        loggerFactory = new LoggerFactory();
    }

    public ILoggerFactory getLoggerFactory() {
        return loggerFactory;
    }

    public String getLoggerFactoryClassStr() {
        return loggerFactoryClassStr;
    }
}

